﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KMS.Core.domain.model.user;
using KMS.Core.domain.model.project;

namespace KMS.Core.domain.model.post
{
    public abstract class Post
    {
        public User Author { get; private set; }
        public Project InitialProject { get; private set; }
        public DateTime DateTimeCreated { get; private set; }
        public string Title { get; private set; }
        public string Content { get; private set; }

        public Post(User author, string title, string content, Project initialProject, DateTime dateTime)
        {
            Author = author;
            InitialProject = initialProject;
            DateTimeCreated = dateTime;
            Title = title;
            Content = content;
        }
    }
}
